package com.wmapp.domain;

import java.util.UUID;

public class CDR {
	//private String id;
	private String time;
	//private String billid;
	private String chan;
	private String address;
	private String caller;
	private String called;
	//private String billtime;
	//private String ringtime;
	private String duration;
	private String direction;
	private String status;
	private String reason;
    private String application;
	
	public static final String[] GRID_COL_FIELDS={"time","address","caller","called","duration","status","direction","reason","application"};


	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	//public String getBillid() {
	//	return billid;
	//}

	public String getId() {
		return UUID.randomUUID().toString();
	}

	//public void setBillid(String billid) {
	//	this.billid = billid;
	//}

	public String getChan() {
		return chan;
	}

	public void setChan(String chan) {
		this.chan = chan;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCaller() {
		return caller;
	}

	public void setCaller(String caller) {
		this.caller = caller;
	}

	//public String getBilltime() {
	//	return billtime;
	//}

	//public void setBilltime(String billtime) {
	//	this.billtime = billtime;
	//}

	//public String getRingtime() {
	//	return ringtime;
	//}

	//public void setRingtime(String ringtime) {
	//	this.ringtime = ringtime;
	//}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getCalled() {
		return called;
	}

	public void setCalled(String called) {
		this.called = called;
	}

    public String getApplication() {
		return application;
	}

	public void setApplication(String application) {
		this.application = application;
	}

}
